package itsm.isperp.module.repository.app;

import itsm.isperp.framework.data.mybatis.dao.CUDMapper;
import itsm.isperp.module.entity.app.AppCalendarWorkdate;

import java.util.Date;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * 
 * 
 * @author lizx
 * @date 2013-5-12
 * @version V1.0
 */
@Repository
public interface AppCalendarWorkdateMapper extends
		CUDMapper<AppCalendarWorkdate> {

	/**
	 * 
	 * @param calendarDate
	 * @param appCalendarConfigId
	 * @return
	 */
	AppCalendarWorkdate findOneByWorkdateAndConfig(
			@Param("calendarDate") Date calendarDate,
			@Param("appCalendarConfigId") String appCalendarConfigId);

}
